// 引用网络请求中间件
import request from '../../utils/request.js';



export default {
	inquiry(data) {
		return request({
			url: "/employee/inquiry",
			method: 'POST',
			data
		})
	},

	getDoctor() {
		return request({
			url: `/employee/app/list`,
			method: 'GET',
		})
	},

	getDoctorById(data) {
		return request({
			url: `/employee/query`,
			method: 'POST',
			data
		})
	},


	getDoctorDetail(uemployeeid) {
		return request({
			url: `/employee/doctorDetail?uemployeeid=${uemployeeid}`,
			method: 'GET',
		})
	},


	getDoctorPage(data) {
		return request({
			url: `/employee/query`,
			method: 'POST',
			data
		})
	},



	getHospital() {
		return request({
			url: `/merchant/selectAllCompInfo`,
			method: 'GET',
		})
	},

}